Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum





Create an appointment in javascript
~Nita Umfanatexynds 02/27/2007 05:15 PM
Applications Development All Releases All Platforms


I want to create an appointment in Javascript.
I have problems specifying the dates/times of the meeting. Lotus Notes complains about the format of the dates/times values...

Do you have any comments on the folliwing code?



doc.replaceItemValue("form","appointment");
doc.replaceItemValue("appointmenttype","3");

doc.replaceItemValue("chair", mymail);
doc.replaceItemValue("subject" , "Task ");

doc.replaceItemValue("sendto", anothermail );

doc.replaceItemValue("StartDateTime", "01/04/2008 13:00");
doc.replaceItemValue("StartTime","01/04/2008 13:00");
doc.replaceItemValue("StartDate","01/04/2008 13:00");
doc.replaceItemValue("EndDate", "01/05/2008 13:00");
doc.replaceItemValue("EndDateTime", "01/05/2008 13:00");
doc.replaceItemValue("EndTime","01/05/2008 13:00");
doc.replaceItemValue("CalendarDateTime", "01/04/08 13:00");



thanks in advance !

Go back